#pragma once
#include<iostream>
#include<string>
#include<string.h>
#include<unistd.h>
#include<fcntl.h>
#include<stdlib.h>
#include<stdio.h>
using namespace std;
#define FILE_PATH "./namepipe"
#define MODE 0666
enum COMD
{
    CREAT_FAIL = 1,
    OPEN_FAIL,
    READ_FAIL,
    WRITE_FAIL
};